Skip to content

Match.run() fix, add tests, parses bestmove's info - #13

Merged
iamjarret merged 3 commits into
iamjarret:masterfrom
pafnucy:master
Nov 23, 2016
Merged

Match.run() fix, add tests, parses bestmove's info#13
iamjarret merged 3 commits into
iamjarret:masterfrom
pafnucy:master

Conversation

@pafnucy

@pafnucy pafnucy commented Oct 25, 2016

Copy link
Copy Markdown
Contributor

Fixes #12

Didn't experiment with ponder, but I think it should be fine in proposed setup. I changed order of code, so break in the move loop occurs when there is mate, no matter what is value of ponder.

If you have any ideas for further testing, please share.

fox for iamjarret#8
pv was left as string, as I'm unsure what form is more appropriate

on the way:
-additions to docstrings (Match.move, Engine.bestmove, Engine._movelisttostr)
-used shorthand notation for _movelisttostr concatenation, ponder assignment in Match.move
@pafnucy pafnucy changed the title Match.run() fix, add tests Match.run() fix, add tests, parses bestmove's info Oct 25, 2016

@iamjarret iamjarret left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are high-quality changes. Thanks for your wonderful contribution, Andrew!

@iamjarret
iamjarret merged commit ae34a4b into iamjarret:master Nov 23, 2016
@pafnucy

pafnucy commented Nov 24, 2016

Copy link
Copy Markdown
Contributor Author

Thanx for feedback. This pull request also fixes #8, although I didn't split "pv" field, so it is a string instead of list. Didn't notice #9 earlier, so I guess I somewhat duplicated work.

By the way, I think both #5 and #10 can be closed.

Could you drop me an email?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants